Composing annotations without regret? Practical experiences using FeatureC

نویسندگان

  • Jacob Krüger
  • Marcus Pinnecke
  • Andy Kenner
  • Christopher Kruczek
  • Fabian Benduhn
  • Thomas Leich
  • Gunter Saake
چکیده

Software product lines enable developers to derive similar products from a common code base. Existing implementation techniques can be categorized as composition-based and annotation-based, with both approaches promising complementary benefits. However, annotation-based approaches are commonly used in practice despite composition allowing physical separation of features and, thus, improving traceability and maintenance. A main hindrance to migrate annotated systems towards a composition-based product line is the challenging and time consuming transformation task. For a company it is difficult to predict the corresponding costs, and a successful outcome is uncertain. To overcome such problems, a solution proposed by previous work is to use a hybrid approach, utilizing composition and annotation simultaneously. Based on this idea, we introduce a step-wise migration process from annotation-based towards compositionbased approaches to lower the adoption barrier of composition. This process itself is independent of used implementation techniques and enables developers to incrementally migrate towards composition. We support our approach with detailed examples by partially migrating a real-world system. In detail, we describe i) our migration process, ii) its application on a real-world system, and iii) discuss practical challenges we faced. We implemented the proposed approach and show that appropriate tool support helps to migrate towards composition-based product lines. Based on the case study, we show that hybrid product lines work correctly and can compete with the performance of the original annotated system. However, the results also illustrate open issues that have to be solved to apply such migrations in practice. Copyright c © 2017 John Wiley & Sons, Ltd.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

FeatureC++: Feature-Oriented and Aspect-Oriented Programming in C++

This paper presents FeatureC++, a novel programming language which supports Feature-Oriented Programming (FOP) for C++. Besides well-known concepts of FOP languages, FeatureC++ supports several novel FOP language features, in particular multiple inheritance and templates for Generic Programming. Furthermore, FeatureC++ solves, as some other FOP languages, the extensibility problem, the construc...

متن کامل

Sequential Learning without Feedback

In many security and healthcare systems a sequence of features/sensors/tests are used for detection and diagnosis. Each test outputs a prediction of the latent state, and carries with it inherent costs. Our objective is to learn strategies for selecting tests to optimize accuracy & costs. Unfortunately it is often impossible to acquire-in-situ ground truth annotations and we are left with the p...

متن کامل

Unsupervised Sequential Sensor Acquisition

In many security and healthcare systems a sequence of sensors/tests are used for detection and diagnosis. Each test outputs a prediction of the latent state, and carries with it inherent costs. Our objective is to learn strategies for selecting tests to optimize accuracy & costs. Unfortunately it is often impossible to acquire in-situ ground truth annotations and we are left with the problem of...

متن کامل

Evaluation of Influencing Factors on Tubal Sterilization Regret: A Cross-Sectional Study

Objective The aim of this study is to evaluate the menstrual pattern, sexual function, and anxiety, and depression in women with poststerilization regret, and potential influencing factors for regret following TL in Iranian women. MaterialsAndMethods In this cross-sectional study, 166 women with TL were subdivided into two groups including women with poststerilization regret (n=41) and women wi...

متن کامل

The Effects of Multimedia Annotations on Iranian EFL Learners’ L2 Vocabulary Learning

In our modern technological world, Computer-Assisted Language learning (CALL) is a new realm towards learning a language in general, and learning L2 vocabulary in particular. It is assumed that the use of multimedia annotations promotes language learners’ vocabulary acquisition. Therefore, this study set out to investigate the effects of different multimedia annotations (still picture annotatio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 48  شماره 

صفحات  -

تاریخ انتشار 2018